<include file="Public:head" title="{$menu.name}"/>

<div class="main-container" id="main-container">
    <div class="main-container-inner">
        <include file="Public:left" />
        <div class="main-content">
            <div class="breadcrumbs" id="breadcrumbs">
                <ul class="breadcrumb">
                    <li><i class="icon-home home-icon"></i><a href="__APP__/{$Think.MODULE_NAME}">首页</a></li>
                    <li>报表管理</li>
                    <li class="active">{$menu.name}</li>
                </ul>
            </div>
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="header smaller lighter blue clearfix">
                            <form class="form-search" method="get">
                                <div class="search_area" style="float: right;width:auto;margin:2px 0 0 10px">
                                    <button class="btn btn-purple btn-sm" type="submit">查 询 <i class="icon_search icon-on-right bigger-110"></i></button>
                                </div>
                                <div class='calendar_area clearfix'>
                                    <div class='calendar_dates'> 
                                        <div class="ta_date" id="div_date1">
                                            <span class="date_title" id="date1"></span>
                                            <a class="opt_sel" id="input_trigger1" href="#">
                                                <i class="i_orderd"></i>
                                            </a>
                                        </div>
                                        <div id="datePicker1"></div>
                                    </div>
                                    <input type="hidden" name="start_date" id='start_date' value='{$start_date}' autocomplete="off" />
                                    <input type="hidden" name="end_date" id='end_date' value='{$end_date}' autocomplete="off" />
                                </div>
                            </form>
                        </div>
                        <!-----------------最近10日------------------>
                        <div class="row marginBottom-10">
                            <div class="col-sm-6">
                                <div class="widget-box transparent">
                                    <div class="tabbable">
                                        <ul class="nav nav-tabs">
                                            <li class="active">
                                                <a href="#income" data-toggle="tab">
                                                    <i class="green icon-home bigger-110"></i>
                                                    最近10日统计表
                                                </a>
                                            </li>
                                        </ul>
                                        <div class="tab-content">
                                            <div class="tab-pane active">
                                                <div id="chart-1" class="fusion_charts" data-json='{$day_pays_json}'></div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="widget-box transparent">
                                    <div class="tabbable">
                                        <ul class="nav nav-tabs">
                                            <li class="active">
                                                <a href="#pay2_person_num" data-toggle="tab">
                                                    <i class="green icon-home bigger-110"></i>
                                                    最近10日二维表
                                                </a>
                                            </li>
                                        </ul>

                                        <div class="tab-content fusion_charts_table">
                                            <div class="tab-pane active" id="pay2_person_num">
                                                <table class="table table-striped table-border-no table-hover">
                                                    <thead class="thin-border-bottom">
                                                        <tr>
                                                            <th width="90px"><i class="icon-time bigger-110"></i>日期</th>
                                                            <th>金额</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                    <foreach name='day_pays' item='row'>
                                                        <tr>
                                                            <td>{$row.label}</td>
                                                            <td>{$row.value}</td>
                                                        </tr>
                                                    </foreach>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div> 
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="hr hr32 hr-dotted"></div>
                        <!-----------------最近周统计------------------>
                        <div class="row marginBottom-10">
                            <div class="col-sm-6">
                                <div class="widget-box transparent">
                                    <div class="tabbable">
                                        <ul class="nav nav-tabs">
                                            <li class="active">
                                                <a href="#income" data-toggle="tab">
                                                    <i class="green icon-home bigger-110"></i>
                                                    最近10周统计表
                                                </a>
                                            </li>
                                        </ul>
                                        <div class="tab-content">
                                            <div class="tab-pane active">
                                                <div id="chart-2" class="fusion_charts" data-json='{$week_pays_json}'></div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="widget-box transparent">
                                    <div class="tabbable">
                                        <ul class="nav nav-tabs">
                                            <li class="active">
                                                <a href="#pay2_person_num" data-toggle="tab">
                                                    <i class="green icon-home bigger-110"></i>
                                                    最近10周二维表
                                                </a>
                                            </li>
                                        </ul>

                                        <div class="tab-content fusion_charts_table">
                                            <div class="tab-pane active" id="pay2_person_num">
                                                <table class="table table-striped table-border-no table-hover">
                                                    <thead class="thin-border-bottom">
                                                        <tr>
                                                            <th width="90px"><i class="icon-time bigger-110"></i>日期</th>
                                                            <th>金额</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                    <foreach name='week_pays' item='row'>
                                                        <tr>
                                                            <td>{$row.label}</td>
                                                            <td>{$row.value}</td>
                                                        </tr>
                                                    </foreach>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div> 
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="hr hr32 hr-dotted"></div>
                        <!-----------------最近月统计------------------>
                        <div class="row marginBottom-10">
                            <div class="col-sm-6">
                                <div class="widget-box transparent">
                                    <div class="tabbable">
                                        <ul class="nav nav-tabs">
                                            <li class="active">
                                                <a href="#income" data-toggle="tab">
                                                    <i class="green icon-home bigger-110"></i>
                                                    最近10月统计表
                                                </a>
                                            </li>
                                        </ul>
                                        <div class="tab-content">
                                            <div class="tab-pane active">
                                                <div id="chart-3" class="fusion_charts" data-json='{$month_pays_json}'></div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="widget-box transparent">
                                    <div class="tabbable">
                                        <ul class="nav nav-tabs">
                                            <li class="active">
                                                <a href="#pay2_person_num" data-toggle="tab">
                                                    <i class="green icon-home bigger-110"></i>
                                                    最近10月二维表
                                                </a>
                                            </li>
                                        </ul>

                                        <div class="tab-content fusion_charts_table">
                                            <div class="tab-pane active" id="pay2_person_num">
                                                <table class="table table-striped table-border-no table-hover">
                                                    <thead class="thin-border-bottom">
                                                        <tr>
                                                            <th width="90px"><i class="icon-time bigger-110"></i>日期</th>
                                                            <th>金额</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                    <foreach name='month_pays' item='row'>
                                                        <tr>
                                                            <td>{$row.label}</td>
                                                            <td>{$row.value}</td>
                                                        </tr>
                                                    </foreach>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div> 
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="hr hr32 hr-dotted"></div>
                        <!-----------------最近年统计------------------>
                        <div class="row marginBottom-10">
                            <div class="col-sm-6">
                                <div class="widget-box transparent">
                                    <div class="tabbable">
                                        <ul class="nav nav-tabs">
                                            <li class="active">
                                                <a href="#income" data-toggle="tab">
                                                    <i class="green icon-home bigger-110"></i>
                                                    最近10年统计表
                                                </a>
                                            </li>
                                        </ul>
                                        <div class="tab-content">
                                            <div class="tab-pane active">
                                                <div id="chart-4" class="fusion_charts" data-json='{$year_pays_json}'></div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="widget-box transparent">
                                    <div class="tabbable">
                                        <ul class="nav nav-tabs">
                                            <li class="active">
                                                <a href="#pay2_person_num" data-toggle="tab">
                                                    <i class="green icon-home bigger-110"></i>
                                                    最近10年二维表
                                                </a>
                                            </li>
                                        </ul>

                                        <div class="tab-content fusion_charts_table">
                                            <div class="tab-pane active" id="pay2_person_num">
                                                <table class="table table-striped table-border-no table-hover">
                                                    <thead class="thin-border-bottom">
                                                        <tr>
                                                            <th width="90px"><i class="icon-time bigger-110"></i>日期</th>
                                                            <th>金额</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                    <foreach name='year_pays' item='row'>
                                                        <tr>
                                                            <td>{$row.label}</td>
                                                            <td>{$row.value}</td>
                                                        </tr>
                                                    </foreach>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div> 
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<include file="Public:foot" />  
<include file="Public:date_range" />
<include file="Public:fusioncharts" />

